﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Besture.Bll;
using Besture.Common;


namespace Besture.UI.Admin
{
    public partial class Main : BasePage
    {
        /// <summary>
        /// 初始化页面
        /// </summary>
        protected override void InitialLoad()
        {
            rpPage.DataSource =
                QueryDac.GetTable(
                    @"SELECT t1.* FROM TBAdminPages t1
                                                Left Join TBAdminPages t2
                                                on t1.ModulesID = t2.ID
                                                where t1.icon <> ''
                                                Order by t2.SortID asc ,t1.sortID asc");
            rpPage.DataBind();
        }

        /// <summary>
        /// 回发
        /// </summary>
        protected override void PostBackLoad()
        {

        }
    }
}